package models.cms;

import models.sys.User;
import play.db.jpa.Model;

import javax.persistence.Entity;
import javax.persistence.OneToOne;

/**
 * Created by nileb on 2015/12/4.
 */
@Entity(name = "t_follows")
public class Follow extends Model {

    @OneToOne
    public User user;
    @OneToOne
    public Post post;
}
